import request from '@/utils/request';

//列表
export function pointsRuleList(data) {
  return request({
    url: 'ruleSettings/list',
    method: 'post',
    data
  });
}
//新增
export function pointsRuleAdd(data) {
  return request({
    url: 'ruleSettings/add',
    method: 'post',
    data
  });
}

//删除
export function pointsRuleDelete(data) {
  return request({
    url: 'ruleSettings/delete',
    method: 'post',
    data
  });
}

//修改
export function pointsRuleEdit(data) {
  return request({
    url: 'ruleSettings/edit',
    method: 'post',
    data
  });
}




export default {
  pointsRuleList,
  pointsRuleAdd,
  pointsRuleEdit,
  pointsRuleDelete,
};
